﻿<controls:ChildWindow x:Class="VAdvantage.Framework.VPayment"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           MinWidth="100" MinHeight="100" 
           Title="VPayment">
    <Grid>
        <Grid Name="LayoutRoot" Margin="2">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid Name="grdUp" Background="Transparent" Grid.Row="0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="170">
                    </ColumnDefinition>
                    <ColumnDefinition Width="270">
                    </ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition></RowDefinition>
                </Grid.RowDefinitions>
                <TextBlock Text="Payment Method" Grid.Column="0" Margin="3" HorizontalAlignment="Right"></TextBlock>
            </Grid>
            <Grid Name="centerPanel" Background="Transparent" Grid.Row="1" >
            </Grid>
            <Grid Name="pnlButtonS" Background="Transparent" VerticalAlignment="Bottom" Grid.Row="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*">
                    </ColumnDefinition>
                    <ColumnDefinition Width="Auto">
                    </ColumnDefinition>
                </Grid.ColumnDefinitions>


                <Button Height="35" HorizontalAlignment="Right" Margin="1" Name="ibtnCancel" VerticalAlignment="Top" Width="35" Click="CancelButton_Click" Grid.Column="0">
                    <Image  Source="/VAdvantage;component/Images/cancel_up.png" Stretch="Fill"  />
                </Button>
                <Button Grid.Column="1" Height="35" HorizontalAlignment="Right" Margin="1" Name="ibtnOk" VerticalAlignment="Top" Width="35"  Click="OKButton_Click">
                    <Image  Source="/VAdvantage;component/Images/right_up.png" Stretch="Fill"  />
                </Button>
            </Grid>
        </Grid>
        <Grid x:Name="busyWindow" Opacity=".4" Background="LightGray" Visibility="Collapsed" MouseLeftButtonDown="busyWindow_MouseLeftButtonDown" >
            <TextBlock x:Name="txtBusy" FontSize="20" FontStyle="Italic" Visibility="Collapsed" HorizontalAlignment="Center" Text="Loading...." VerticalAlignment="Center"></TextBlock>
        </Grid>
    </Grid>
</controls:ChildWindow>